import request from '@/utils/request'

export function getList(query) {
  return request({
    url: '/api/hospital/bedTable/getlist',
    method: 'post',
    data: query
  })
}

export function brsuo(query) {
  return request({
    url: '/api/hospital/userTable/brsuo',
    method: 'post',
    data: query
  })
}

export function yssuo(query) {
  return request({
    url: '/api/hospital/doctorTable/yssuo',
    method: 'post',
    data: query
  })
}

export function getbyks(query) {
  return request({
    url: '/api/hospital/bedTable/getbyks',
    method: 'get',
    params: query
  })
}

export function tianjia(query) {
  return request({
    url: '/api/hospital/dischargeTable/tianjia',
    method: 'get',
    params: query
  })
}

export function upxiu(query) {
  return request({
    url: '/api/hospital/bedTable/upxiu',
    method: 'get',
    params: query
  })
}

export function shan(query) {
  return request({
    url: '/api/hospital/bedTable/shan',
    method: 'get',
    params: query
  })
}
